<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="security"
	uri="http://www.springframework.org/security/tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body>
	<div id="menu">
		<ul class="menu">
			<li class="home"><a href="home" title="Home">Home</a></li>
			<li class="services"><a href="equityquery">Equity</a></li>
			<security:authorize ifAllGranted="ROLE_ADMIN">
				<li class="services"><a href="admin">Admin</a></li>
			</security:authorize>	
			<li class="about"><a href="#" title="About">About</a></li>
			<li class="services"><a href="#" title="Services">Services</a></li>
			<li class="contacts"><a href="#" title="Contacts">Contacts</a></li>
			<security:authorize ifNotGranted="ROLE_ADMIN,ROLE_USER">
			<li class="login"><a href="<c:url value="/login.jsp" />"
				title="Login">Sign in</a></li>
			</security:authorize>	
			<security:authorize ifAnyGranted="ROLE_ADMIN,ROLE_USER">
				<li class="logout"><a
					href="<c:url value="/j_spring_security_logout" />" title="Logout">Logout</a></li>
			</security:authorize>
			<security:authorize ifNotGranted="ROLE_ADMIN,ROLE_USER">
				<li class="register"><a href="register" title="Register">Register</a></li>
			</security:authorize>	
		</ul>
		<br class="clearfix" />
	</div>
</body>
</html>